package com.example.administrator.myapplication.evaluate;

import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.example.administrator.myapplication.R;

/**
 * Created by Administrator on 2018/1/19.
 */

public class BodyTestAssess extends Activity{
    private Toolbar toolbar;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_body_test_assess);
        toolbar= (Toolbar) findViewById(R.id.toolbar_body_assess);
        toolbar.setNavigationIcon(R.mipmap.custom_back);
        toolbar.setTitle("身体成分测试结果");
        toolbar.setTitleMarginStart(200);
        toolbar.setTitleTextColor(Color.parseColor("#ffffff"));
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }
}
